package com.zp.service;

import com.zp.dao.UserMapper;
import com.zp.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;

/**
 * @author:周鹏
 * @date: 2020/12/17 11:00
 * @description:
 */
@Service
public class UserServiceImp implements UserService{
    @Autowired
     private UserMapper userMapper;

    public User findAllUser(User users) {
        return userMapper.findAllUser(users);
    }

    public List<User> getUserBypage(HashMap map) {
        return userMapper.getUserBypage(map);
    }

    public List<User> getuserList() {
        return userMapper.getuserList();
    }

    public void setUserMapper(UserMapper userMapper) {
        this.userMapper = userMapper;
    }
}
